package com.fph.demo.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.stereotype.Component;

/**
 * @ClassName UserEntity
 * @Description TODO
 * @Author fph
 * @Date 2024-07-08 9:59
 **/
@Data
@ConfigurationProperties(prefix = "user")
@Component
public class UserEntity {

    private String userName;
    private Integer age;
}

